package main.java.model;

import java.io.Serializable;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import main.java.constant.SessionKey;

import org.hibernate.validator.constraints.NotEmpty;

public class AttachmentModel implements Serializable {
	private String attachment_id;
	private String news_info_id;
	private String size;
	private String link;

	public AttachmentModel() {	}
	
	public AttachmentModel(String size, String link) {
		this.size = size;
		this.link = link;
	}

	@Override
	public String toString() {
		return "AttachmentModel [attachment_id=" + attachment_id
				+ ", news_info_id=" + news_info_id + ", size=" + size
				+ ", link=" + link + "]";
	}

	public String getAttachment_id() {
		return attachment_id;
	}
	public void setAttachment_id(String attachment_id) {
		this.attachment_id = attachment_id;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public String getNews_info_id() {
		return news_info_id;
	}
	public void setNews_info_id(String news_info_id) {
		this.news_info_id = news_info_id;
	}

	/**
	 * 
	 */
	private static final long serialVersionUID = SessionKey.JMunersSerialVersionUID;
}
